package Fourth;

import java.util.Collections;

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student("张三", 95, 88, 92);
        Student student2 = new Student("李四", 87, 95, 89);
        Student student3 = new Student("王五", 92, 90, 88);
        Student student4 = new Student("赵六", 87, 95, 89);
        Student student5 = new Student("钱七", 90, 85, 95);

        Student[] students = new Student[]{student1,student2,student3,student4,student5};
        for (Student student : students){
            student.totalScore = student.EnglishScore + student.languageScore + student.mathScore;
        }


        for (int i = 0; i < students.length - 1; i++) {
            for (int j = i + 1; j < students; j++) {

            }
        }

    }
}
